import requests


headers = {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9",
    "cache-control": "no-cache",
    "content-type": "application/x-www-form-urlencoded",
    "origin": "https://music.163.com",
    "pragma": "no-cache",
    "priority": "u=1, i",
    "referer": "https://music.163.com/",
    "sec-ch-ua": "\"Chromium\";v=\"130\", \"Google Chrome\";v=\"130\", \"Not?A_Brand\";v=\"99\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
}
cookies = {
    "NMTID": "00OEdcVTddq337zUkrFjYGUEJqtCoAAAAGTKCyeRA",
    "_iuqxldmzr_": "32",
    "_ntes_nnid": "e822aa15aa25deab08ea36d8b24e1c41,1731545837795",
    "_ntes_nuid": "e822aa15aa25deab08ea36d8b24e1c41",
    "WEVNSM": "1.0.0",
    "WNMCID": "cefuff.1731545840573.01.0",
    "ntes_utid": "tid._.g12UI73e3ClAFgFBBQOSSx2BGeXiZ7WX._.0",
    "sDeviceId": "YD-Er10f6CM%2FvVAUxUUFROTWk1AN8WPIwEp",
    "WM_NI": "QdYPOUuFNvu6uH3gkI4G8els8GPg%2B61NjkLWyocAjRLXqd7E9YzFH5f%2FNWNjfSUeHvzn0sax3eZnLpIwuALk6%2Bx4Be%2BQdJu5nQnpGaEwC1Vlp8G2bjgiMp5hfnH3KmKzS0k%3D",
    "WM_NIKE": "9ca17ae2e6ffcda170e2e6ee8eb47bbb9d9ca4b372b48e8aa6c14b968f8aacd75df3b68fa4e14dbaade59bcc2af0fea7c3b92a93bc97b1ce5fb79a8297f83eb798fd88ea43f899f886ef79fc99a088aa3ef392a68ccf5dbbb1ada2e95a9088bf85b64ffb87b6a7cb3fa6f182b8cd62a68d9b86cb7ebab20094e474f1bb968fcf7c8ba9bba2cf61f6f5b8d5c16fe98facabf83fae8fa291c66b87a98dd2d568b4e889d3e162a5b78391b864a6b288d4ca6789a69dd1ea37e2a3",
    "__snaker__id": "5QCWgzcOTkdn0fhW",
    "WM_TID": "FmgZNfhQUKlBVRUAUEbWWkmAHKGy4%2BHx",
    "__csrf": "4a193306c2eec51093bf7a83524930b8",
    "__remember_me": "true",
    "MUSIC_U": "00D90907BC23DCEDD005B1D782D62C6BF479B2BA78B4AF676549FE6903AB1530BD96B050E975CFDB103DC0930D8B4BBE3E69AC49636492043B16B02E144FB48AB8E8558DD58B2F94A3F55A1ECA5AEEE901B1C9AB57EF3A679480061D4F9199E2E63D76815417ED5BEEEDA97617CC05FEAD4B2EB93EB0521541D5B6C29374DD6A59FFE9C316AA5DD6B0C939EE3C0F13A19B06D94B36345450513D936DACA139961140E15B385C998FE15B0BEBFD2DC08F533A640B90D5FB34BF289328AA74B0AC8452CACF27A316E9A075F17C1EBF63D4B18AFBD85623DCCFF42F3872B5AB1BA9540C417352FEE4054F3DF3AAF13AF7E68C11C6C6E6090209E7C1610FA680E137B01C0EE6997CB0E3B8C6C6D4AB1716E6D75C0D748D91AD7B86AE72236CC328DBD8B17249F25F11654FC4316834907EC5A626F0C98FEAB9B050E8E6B2A932B1AC1C83E972372027F9678A6E0F5AD0D5FFFA9C9ABD281E5689242B7F4DC5EDFF42C1",
    "ntes_kaola_ad": "1",
    "playerid": "70904363",
    "gdxidpyhxdE": "0PCTKfzebRzWdvcsnxpWmWIB8AqqLN4J%2FRKYtdU1S1RVEhqKYeKU4%2BUagHMZaXro15gpCubvEjNKLDqe4qK9R%2FDViy2D8vwySClpzLNI%2F0mcaeP9oUcnyQkh16H45j%2FW5r0WlnCCWQzOXiGURUDWlhHRSqjMRHdzlspjsh%2FTN0RZHZ6C%3A1731574113829",
    "JSESSIONID-WYYY": "5%2Fa9nlgvoJZBuyg%2FmOBmqb3Dw%2FbTgTeQQ1GItZ9OHjKay3rl53PWfjZoH%2BtN34kXgM0JkavwejK3nSC5kGJS2lDktVP3i3A%2FQRsx%2B9kwWwwRioBXERkoFJCeCSScuH3WN3aI%2Fb%2B9x5nf%2FOAuKvuKMDWcIdDK0qB5AclSHxqkoauYa03k%3A1731575013918"
}
url = "https://music.163.com/weapi/song/enhance/player/url/v1"
params = {
    "csrf_token": "4a193306c2eec51093bf7a83524930b8"
}
data = {
    "params": "Up9hlS7J6p8NFZD36OIQ9K7CdQ81QnOrbDxrQZXD+KW33f66uUNkh+3N/YFEfVfjNwa+2zUobk/79gxBvYNZm8Nvo9CEpmIjKx/R4zGbysUQGZqlrhnKrE4UrEmipjJqauttsRN4xROFVNGXSm5hRvERR8+AzjDDo1p4lst4DrFYZSBHSfH+MtHLEjXxrvMb5Af/iV+z9LWQudt/i8Vhfg==",
    "encSecKey": "687bc5498e7d0e7a6fd969f9d6271b660509294d21e438f6325224e982afeac9becac80ad96de17b051845885fe97f9ffeb252f81ca24384bcaf9079e73721bea04678c276ff9457e1fe886cae4ba9d40e61aae772a22d9e4a862b980ff4858b611805cb836e59a7810b1cf4c368dfde84cf51225cde5378f835718e50f6a3c1"
}
response = requests.post(url, headers=headers, cookies=cookies, params=params, data=data)

print(response.text)
print(response)